package cn.edu.scau.cmi.front.domain.echart;

import java.util.List;

public class LineSeries {
	private String name; // 对应legend，选定哪条折线

	private String type; // 折线类型，一般为line
	
	private boolean smooth = true;
	
	private String symbol = "none";

	private List<Long> data; // 数据，个数和category(横坐标)相同

	public LineSeries(String name, String type, List<Long> data) {
		super();
		this.setName(name);
		this.setType(type);
		this.setData(data);
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public boolean isSmooth() {
		return smooth;
	}

	public void setSmooth(boolean smooth) {
		this.smooth = smooth;
	}

	public String getSymbol() {
		return symbol;
	}

	public void setSymbol(String symbol) {
		this.symbol = symbol;
	}

	public List<Long> getData() {
		return data;
	}

	public void setData(List<Long> data) {
		this.data = data;
	}
}